﻿<%@ Page Language="C#" MasterPageFile="~/Navigations.Master" AutoEventWireup="true" CodeBehind="UserManager.aspx.cs" Inherits="WeChat.Manager.UserManager" Title="用户管理" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

 <div class="container" style="font-family:微软雅黑">
      <div class="row">
        <div class="col-md-1"></div>
        <div class="col-md-10 col-sm-12">
        <div class="panel panel-primary">
           <div class="panel-heading">
              <h3 class="panel-title">查看关注用户&nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="Label1" runat="server" Font-Size="Small" ></asp:Label> </h3>
           </div>
           <div class="panel-body ">
           <div class="form-inline">
               <div class="form-group">
                  <label class="" for="name">选择分组</label>
               </div>

               <div class="form-group">
                  <asp:DropDownList ID="grps" runat="server" CssClass="form-control" AutoPostBack="true" onselectedindexchanged="selectedIndexChanged">
                    <asp:ListItem Text="全部"></asp:ListItem>
                    <asp:ListItem Text="0"></asp:ListItem>
                    <asp:ListItem Text="1"></asp:ListItem>
                    <asp:ListItem Text="2"></asp:ListItem>
                    <asp:ListItem Text="3"></asp:ListItem>
                    <asp:ListItem Text="4"></asp:ListItem>
                </asp:DropDownList>
               </div>
               <div class="form-group">
                  <label class="sr-only" for="name">名称</label>
                  <input type="text" class="form-control" id="username" runat="server"
                     placeholder="请输入用户名称"/>
               </div>
               <asp:Button ID="Button1" runat="server" CssClass="btn btn-default" Text="查找" OnClick="findByname" />
            </div>
            </div>
            <asp:Repeater id="UserShow" runat="server">
                    <HeaderTemplate>
                    <table class="table table-hover">
                    <tr>
                    <th>头像</th>
                    <th>用户名</th>
                    <th>openid</th>
                    <th>性别</th>
                    <th>地址</th>
                    <th>关注时间</th>
                    <%--<th>备注</th>--%>
                    <th>分组</th>
                    </tr>
                    </HeaderTemplate>

                    <ItemTemplate>
                    <tr>
                        
                    <td><asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("headimgurl")%>' Height="30px" /></td>
                    <td><%# Eval("nickname")%></td>
                    <td><%# Eval("openid")%></td>
                    <td><%# Eval("sex")%></td>
                    <td><%# Eval("province")%> <%# Eval("city")%></td>
                    <td><%# Eval("subscribe_time")%></td>
                    <%--<td><%# Eval("remark")%></td>--%>
                    <td><%# Eval("groupid")%></td>
                    </tr>
                    </ItemTemplate>

                    <FooterTemplate>
                    </table>
                    </FooterTemplate>
                 </asp:Repeater>
            </div>
        </div>
        <div class="col-md-1"></div>
    </div>
    </div>
</asp:Content>
